package cn.itsource.pethome.org.mapper;

import cn.itsource.pethome.basic.mapper.BaseMapper;
import cn.itsource.pethome.org.domain.Employee;
import cn.itsource.pethome.org.util.EmployeeQuery;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EmployeeMapper extends BaseMapper<Employee> {
    /*部门经理*/
    Page<Employee> findAll(EmployeeQuery employeeQuery);

    void deleteRoleByIds(List<Employee> employees);

    void oneDelete(Long id);

    void DeletePrimaryKey(Long id);

    List<Employee> findManageAll();
}
